import base64
# url = "aHR0cHM6Ly93d3cuY25ibG9ncy5jb20vc29uZ3poaXh1ZS8="
url = "eyJvcGVuaWQiOiJvSWFJSTBSSlNlb3gwVm5HOThSZy1GZF9EVjVnIiwia2V5Ijoi6YKT5ZiJ5paHIiwicGFnZSI6MSwidGltZXN0YW1wIjoxNTk5MzAwNDk1fQ=="
str_url = base64.b64decode(url).decode("utf-8")
print(str_url)
# {"openid":"oIaII0RJSeox0VnG98Rg-Fd_DV5g","key":"邓嘉文","page":1,"timestamp":1599300495}